function [ parameters ] = createParameters( net,neurons,P,T)
%CREATEPARAMETERS Summary of this function goes here
%   Detailed explanation goes here
inputs=numel(P(:,1));
outputs=numel(T(:,1));


for columns=1:inputs
    for rows=0:neurons-1
parameters(columns+rows*inputs,1)=net.IW{1,1}(rows+1,columns);%values from 1-15
    end
end
%second layer
for columns=1:neurons
    parameters(columns+neurons*inputs,1)=net.LW{2,1}(1,columns);%values from 16-18
end
%bias 1 and 2
for row=1:neurons
    parameters(row+neurons*inputs+neurons,1)=net.b{1}(row,1);%19-21
end
parameters(neurons+neurons*inputs+1+neurons,1)=net.b{2};%22

end

